package org.example.Day8;

import java.io.FileInputStream;
import java.io.InputStream;


public class Test {
    public static void main(String[] args) throws Exception{
        InputStream is = new FileInputStream(("level2\\src\\abcd.txt"));

//        读取字节
        int b;
        while ((b = is.read()) != -1) {
            System.out.println((char)b);
        }

        is.close();
    }
}
